package tech.aistar.service;


import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.Date;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:application/spring-*.xml"} )
public class apptest {
    @Autowired
    private IAppointmentTimeService appointmentTimeService;
    @Test
    public void sdfstest(){
        System.out.println(appointmentTimeService.selectByTenantId(1));
    }
    @Test
    public void sdfsfdstest(){
        System.out.println(appointmentTimeService.updateById(new Date(),"下午",1));
    }
}
